package com.grad.why.studentsystem.service;

import com.grad.why.studentsystem.domain.Camera;
import com.grad.why.studentsystem.domain.current.CurrentCaremaInfo;

import java.util.List;

public interface CameraService {
    List<CurrentCaremaInfo> getCameraInfos(int offset, int limit, String search);

    long getCameraInfosLength(String search);

    int getMaxCameraId();

    List<Camera> getAllCameraInfos();

    int addCameraInfo(Camera camera);

    int deleteCameraInfoByCameraId(int i);

    int updateCameraInfo(Camera camera);

    int addCameraInfosByExcelFile(String uploadCurrentFileName);

    List<Camera> getRunningCameraInfos();
}
